package com.doudou.activity.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.doudou.activity.dao.OffLineActivityMapper;
import com.doudou.activity.model.OffLineActivity;
import com.doudou.activity.service.OffLineActivityService;
@Service("offLineActivity")
public class OffLineActivityServiceImpl implements OffLineActivityService  {
    @Autowired
    private  OffLineActivityMapper offLineActivityMapper;
	public List<OffLineActivity> selectAll() {
		return offLineActivityMapper.selectAll();
	}

	public OffLineActivity getEntityById(Long id) {
		return offLineActivityMapper.getEntityById(id);
	}

	public void save(OffLineActivity entity) {
		offLineActivityMapper.save(entity);
	}

}
